<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Login</title>
    <link rel="stylesheet" th:href="@{/css/auth.css}" media="all">
</head>

<body>
<span style="color: red">[[${errorInfo}]]</span>
<div class="lowin">
    <div class="lowin-brand">
        <img  th:src="@{/img/kodinger.jpg}" alt="logo">
    </div>
    <div class="lowin-wrapper">
        <div class="lowin-box lowin-login">
            <div class="lowin-box-inner">
                <form th:action="@{/doLogin}" method="post">
                    <input type="hidden" name="action" value="login" />
                    <input type="hidden" name="gotoURL" th:value="${param.gotoURL}" />
                    <input type="hidden" name="setCookieURL" th:value="${param.setCookieURL}" />
                    <p>登录</p>
                    <div class="lowin-group">
                        <label>用户名</label>
                        <input type="text" name="username" class="lowin-input">
                    </div>
                    <div class="lowin-group password-group">
                        <label>密码</label>
                        <input type="password" name="password" class="lowin-input">
                    </div>
                    <button class="lowin-btn login-btn">
                        登录
                    </button>
                </form>
            </div>
        </div>

    </div>

    <div style="position:absolute;right:0px;bottom:0px;">
        <footer class="lowin-footer">
            Design By @itskodinger.
        </footer>

    </div>
</div>


</body>
</html>